﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace TCS.Web.MembersHome
{
    public partial class header : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["BangShangLogin_model"] != null)
            {
                TCS.Model.MemberInfo mo = (TCS.Model.MemberInfo)Session["BangShangLogin_model"];
                //this.id = mo.Memberid.ToString();
                this.ltrName.Text = mo.MI_username;
                //DBind();
            }
            else
            {
                LTP.Common.MessageBox.ShowAndRedirects(this.Page, "请先登录！", "login.aspx");

            }
        }
    }
}
